﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Farigola.Engine.Factories;

namespace Farigola.Engine.Reposit
{
    public interface IProjectReposit
    {
        // provide the factory, need to build objects
        void SetFactory(Factory factory);

        // provide the activity manager, to trace tasks and errors
        void SetAppActivityMgr(AppActivityMgr appActivityMgr);

        bool SaveProject(Project project, string fileName);

        bool LoadProject(string fileName, out Project project);
    }
}
